package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallCollectedRecordsDao;
import com.appkubes.mall.core.entity.MallCollectedRecords;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallCollectedRecordsService extends AbstractBaseService<BaseMallCollectedRecordsDao, MallCollectedRecords> {

    MallCollectedRecords getOneByEntity(MallCollectedRecords entity);

    List<MallCollectedRecords> selectListByEntity(MallCollectedRecords entity);

    IPage<MallCollectedRecords> selectPageByEntity(IPage<MallCollectedRecords> page);
    IPage<MallCollectedRecords> selectPageByEntity(PageVO pageVO);

    IPage<MallCollectedRecords> selectPageByEntity(MallCollectedRecords entity, IPage<MallCollectedRecords> page);
    IPage<MallCollectedRecords> selectPageByEntity(MallCollectedRecords entity, PageVO pageVO);

    IPage<MallCollectedRecords> selectPageByEntity(MallCollectedRecords entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallCollectedRecords entity);
}
